
<div class="wrapper-md">
    <div class="panel panel-info">
        <div class="panel-heading font-bold">
            待办事项基本信息
        </div>
        <div class="panel-body">
            <div class="wrapper-md ng-scope">
                <div class="row" novalidate>
                <!--表结构 -->
                <div class="col-md-12">
                    <div class="panel panel-default">
                            <ul id="myTab" class="nav nav-tabs">
                            <li class="active">
                                    <a href="#home" data-toggle="tab">
                                        待办事项
                                    </a>
                            </li>
                            <li >
                                    <a href="#home2" data-toggle="tab">
                                        已办事项
                                    </a>
                            </li>

                            </ul>
                            <div id="myTabContent" class="tab-content">
                                <div class="tab-pane fade in active" id="home">
                                        <div class="row wrapper" >
                                                <div class="col-sm-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon" id="basic-addon1">
                                                               归属单位
                                                        </span>
                                                            <input type="text" class="form-control" ng-model="searchform.cname" aria-describedby="basic-addon1">
                                                    </div>
                                                </div>
                                                <div class="col-sm-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon" id="basic-addon1">风险点名称</span>
                                                        <input type="text" class="form-control" ng-model="searchform.sbname" aria-describedby="basic-addon1">
                                                        
                                                    </div>
                                                    
                                                </div>
                                                 <div class="col-sm-2">
                                                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="pageChanged()">搜索</button>
                                                    
                                                </div>
                                        </div>
                                        
                                        <div class="panel-body">
                                                <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer"
                                                    style="display: table; width: 100%;table-layout:fixed;">
                                                    <thead>
                                                    <tr>
                                                      <!--   <th style="width: 8%;text-align:center;vertical-align:middle;">序号</th> -->

                                                        <th style="width: 15%;text-align:center;vertical-align:middle;">待办事项名称</th>
                                                        <th style="width: 12%;text-align:center;vertical-align:middle;">归属单位</th>
                                                          <th style="width: 11%;text-align:center;vertical-align:middle;">
                                                        风险点名称</th>

                                                        <th style="width: 8%;text-align:center;vertical-align:middle;">上次检<br>验日期</th>
                                                        <th style="width: 10%;text-align:center;vertical-align:middle;">下次应检<br>验日期</th>
                                                           <th style="width: 7%;text-align:center;vertical-align:middle;">检验<br>周期</th>
                                                        <th style="width: 8%;text-align:center;vertical-align:middle;">风险点<br>负责人</th>
                                                        <th style="width: 8%;text-align:center;vertical-align:middle;">手机号</th>
                                                         <th style="width: 8%;text-align:center;vertical-align:middle;">系统报<br>送时间</th>
                                                        <th style="width: 11%;text-align:center;vertical-align:middle;">操作</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    <tr ng-repeat="info in infolist">
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.shixiang}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.cname}}</td><!--<br>{{info.inspection_unit}}-->
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.sbname}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.lastdate}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.nextdate}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.cycle}}天</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.fzrname}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.fzrmobile}}</td>
                                                           <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.tbtime}}</td>
                                                        <td  style="text-align:center;vertical-align:middle; ">
                                                            <button  class="btn btn-danger btn-xs btn-rounded" ng-click="lianxi(info)">确认电话沟通</button>
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                        </div>

                                        <div class="text-right" style="background-color: white">
                                            <pagination
                                                total-items="totalItems"
                                                ng-model="currentPage"

                                                ng-change="pageChanged()"
                                                previous-text="上一页"
                                                next-text="下一页"
                                                first-text="首页"
                                                last-text="尾页"
                                                max-size="5"
                                                boundary-links="true"
                                                rotate="false"

                                                items-per-page="itemsPerPage"
                                                class="m-t-none m-b"></pagination>
                                    </div>

                                </div>
                                <div class="tab-pane fade " id="home2">
                                          <div class="row wrapper" >
                                                <div class="col-sm-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon" id="basic-addon1">
                                                               归属单位
                                                        </span>
                                                            <input type="text" class="form-control" ng-model="searchform1.cname1" aria-describedby="basic-addon1">
                                                    </div>
                                                </div>
                                                <div class="col-sm-4">
                                                    <div class="input-group">
                                                        <span class="input-group-addon" id="basic-addon1">风险点名称</span>
                                                        <input type="text" class="form-control" ng-model="searchform1.sbname1" aria-describedby="basic-addon1">
                                                        
                                                    </div>
                                                    
                                                </div>
                                                 <div class="col-sm-2">
                                                     <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="pageChanged1()">搜索</button>
                                                    
                                                </div>
                                        </div>
                                        
                                        <div class="panel-body">

                                                <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer"
                                                    style="display: table; width: 100%;table-layout:fixed;">
                                                    <thead>
                                                    <tr>
                                                      <!--   <th style="width: 8%;text-align:center;vertical-align:middle;">序号</th> -->

                                                        <th style="width: 18%;text-align:center;vertical-align:middle;">已办事项名称</th>
                                                        <th style="width: 14%;text-align:center;vertical-align:middle;">归属单位</th>
                                                          <th style="width: 13%;text-align:center;vertical-align:middle;">
                                                        风险点名称</th>

                                                        <th style="width: 10%;text-align:center;vertical-align:middle;">上次检<br>验日期</th>
                                                        <th style="width: 10%;text-align:center;vertical-align:middle;">下次应检<br>验日期</th>
                                                           <th style="width: 8%;text-align:center;vertical-align:middle;">检验<br>周期</th>
                                                        <th style="width: 9%;text-align:center;vertical-align:middle;">风险点<br>负责人</th>
                                                        <th style="width: 8%;text-align:center;vertical-align:middle;">手机号</th>
                                                        <th style="width: 10%;text-align:center;vertical-align:middle;">办理时间</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    <tr ng-repeat="info in objlist">
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.banlishixiang}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.cname}}</td><!--<br>{{info.inspection_unit}}-->
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.sbname}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.lastdate}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.nextdate}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.cycle}}天</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.fzrname}}</td>
                                                        <td  style="text-align:center;vertical-align:middle;padding:0px;">{{info.fzrmobile}}</td>
                                                        <td  style="text-align:center;vertical-align:middle; ">
                                                           {{info.banlidate}}
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                        </div>

                                        <div class="text-right" style="background-color: white">
                                            <pagination
                                                total-items="totalItems1"
                                                ng-model="currentPage1"

                                                ng-change="pageChanged1()"
                                                previous-text="上一页"
                                                next-text="下一页"
                                                first-text="首页"
                                                last-text="尾页"
                                                max-size="5"
                                                boundary-links="true"
                                                rotate="false"

                                                items-per-page="itemsPerPage1"
                                                class="m-t-none m-b"></pagination>
                                    </div>
                                       <!--  <div class="row wrapper" >
                                                <div class="col-sm-3">
                                                    <div class="input-group">
                                                        <span class="input-group-addon" id="basic-addon1">
                                                                事项名称
                                                        </span>
                                                            <input type="text" class="form-control" ng-model="guname" aria-describedby="basic-addon1">
                                                    </div>
                                                </div>
                                                <div class="col-sm-3">
                                                    <div class="input-group">
                                                        <span class="input-group-addon" id="basic-addon1">提报单位</span>
                                                        <input type="text" class="form-control" ng-model="gename" aria-describedby="basic-addon1">
                                                    </div>
                                                </div>
                                        </div>
                                        <div class="row wrapper" >
                                                <div class="col-sm-8" >
                                                    <div class="pull-left input-group" style="margin-top: 7px;margin-right: 10px">
                                                        提报日期
                                                    </div>
                                                    <div class="pull-left input-group" style="width: 30%">

                                                        <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date2.lable" is-open="date2.opened"
                                                            readonly close-text="关闭" current-text="今天" clear-text="清除" aria-describedby="basic-addon1" style="height:36px"/>
                                                        <span class="input-group-btn">
                                                            <button type="button" class="btn btn-default"
                                                                    ng-click="dateOpen2($event, date2)">
                                                                <i class="glyphicon glyphicon-calendar"></i>
                                                            </button>
                                                        </span>
                                                    </div>
                                                    <div class="pull-left input-group" style="margin-top: 7px;margin-left: 20px;margin-right: 20px">
                                                                至
                                                    </div>
                                                    <div class="pull-left input-group" style="width: 30%">

                                                        <input type="text" class="form-control" datepicker-popup="yyyy-MM-dd" ng-model="date3.lable" is-open="date3.opened"
                                                            readonly close-text="关闭" current-text="今天" clear-text="清除" style="height:36px"/>
                                                        <span class="input-group-btn">
                                                            <button type="button" class="btn btn-default"
                                                                    ng-click="dateOpen3($event, date3)">
                                                                <i class="glyphicon glyphicon-calendar"></i>
                                                            </button>
                                                        </span>
                                                    </div>
                                                        <button class="btn m-b-xs w-xs btn-success btn-rounded pull-right" ng-click="pageChanged1()">搜索</button>
                                                </div>
                                        </div>

                                        <div class="panel-body">
                                                <table class="table table-striped table-bordered ng-isolate-scope dataTable no-footer"
                                                    style="display: table; width: 100%;table-layout:fixed;">
                                                    <thead>
                                                    <tr>
                                                        <th style="width: 12%;text-align:center;">已办事项编号</th>
                                                        <th style="width: 12%;text-align:center;">已办事项名称</th>
                                                        <th style="width: 11%;text-align:center;">提报单位</th>
                                                        <th style="width: 11%;text-align:center;">提报人</th>
                                                        <th style="width: 12%;text-align:center;">提报时间</th>
                                                        <th style="width: 7%;text-align:center;">操作</th>
                                                    </tr>
                                                    </thead>
                                                    <tbody>
                                                    <tr ng-repeat="info in inforList">
                                                        <td >{{info.guid}}</td>
                                                        <td >{{info.guname}}</td>
                                                        <td >{{info.gurp}}</td>
                                                        <td >{{info.gurpp}}</td>
                                                        <td >{{info.gename}}</td>
                                                        <td >{{info.grpname}}</td>
                                                        <td style="text-align:center;">
                                                        <button type="button" class="btn btn-info btn-xs" ng-click="getinfo(info)">详情</button>
                                                      
                                                        </td>
                                                    </tr>
                                                    </tbody>
                                                </table>
                                        </div>
                                        <div class="text-right" style="background-color: white">
                                            <pagination
                                                total-items="totalItems"
                                                ng-model="currentPage"

                                                ng-change="pageChanged1()"
                                                previous-text="上一页"
                                                next-text="下一页"
                                                first-text="首页"
                                                last-text="尾页"
                                                max-size="5"
                                                boundary-links="true"
                                                rotate="false"
                                                items-per-page="itemsPerPage"
                                                class="m-t-none m-b"></pagination>
                                    </div> -->
                                </div>
                        </div>
                    </div>
                    </div>
                </div>
                </div>
        </div>
    </div>
</div>



